﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using WebReference;
using Session;
using PrimaryKeyFunction;



public partial class Admin_Users : System.Web.UI.Page
{
    Service objService = new Service();

    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnSave_Click(object sender, ImageClickEventArgs e)
    {
        lblMessage.Text = objService.SaveUsers(txtLoginName.Text.ToString(), txtFirstName.Text.ToString(), txtLastName.Text.ToString(), txtEmail.Text.ToString(), txtPassword.Text.ToString());
    }
    protected void btnhome_Click(object sender, EventArgs e)
    {
        Response.Redirect("Login.aspx");
    }
}
